package com.xauat.payment;

public class CashPayment implements PaymentMethod{
    @Override
    public String getPaymentMethod() {
        return "现金购买";
    }
    public  String pay(int price){
        return "现结"+price+"块";
    }
}
